<?php

/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \common\models\LoginForm */

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;


$this->title = '基本资料';
$this->params['breadcrumbs'][] = $this->title;

?>
			
			<section class="centermb">
				<div class="center_top">
					<p><img src="<?php if($member['faceimg']){?> <?=Yii::$app->params['setshow']?><?= json_decode($member['faceimg'], true)['newname'];?><?php }else{ ?>/img/toux.png <?php } ?>" /></p>
					<p><a href="member/info"><?= $member['username'] ?></a></p>
				</div>

				<a href="<?= yii\helpers\Url::to(['member/message']);?>"><div class="cenline" style="margin-bottom: 0.2rem;"><span class="linele"><img src="/img/icoc1.png" /> &nbsp; 我的消息 </span> <span class="linerg"> > </span></div></a>
				<a href="/auth/partone"><div class="cenline"><span class="linele"><img src="/img/icoc2.png" /> &nbsp; 修改基本资料 </span> <span class="linerg"> > </span></div></a>
			<?php if($member['status'] == 30){ ?>

					<a href="/member/apply"><div class="cenline"><span class="linele"><img src="/img/icoc3.png" /> &nbsp; 申请入会 </span> <span class="linerg"> > </span></div></a>
			<?php }else if($member['status'] == 10){ ?>
				<a><div class="cenline"><span class="linele"><img src="/img/icoc3.png" /> &nbsp; 已申请，正在审核 </span> <span class="linerg"> > </span></div></a>
			<?php }else if($member['status'] == 20){ ?>
				<a><div class="cenline"><span class="linele"><img src="/img/icoc3.png" /> &nbsp; 审核通过 </span> <span class="linerg"> > </span></div></a>
			<?php }else if($member['status'] == 0){ ?>
				<a href="/member/apply"><div class="cenline"><span class="linele"><img src="/img/icoc3.png" /> &nbsp; 审核未通过，再次申请 </span> <span class="linerg"> > </span></div></a>
			<?php } ?>
				<a href="/meetingenroll/list"><div class="cenline"><span class="linele"><img src="/img/icoc4.png" /> &nbsp; 已报名培训 </span> <span class="linerg"> > </span></div></a>
				
				<a href="/auth/logout"><div class="loadoutbtn">退出当前帐号</div></a>
			</section>
			
